/*
 * LoRA.h
 *
 *  Created on: May 4, 2020
 *      Author: daniel
 */

#ifndef INC_LORA_H_
#define INC_LORA_H_

#include <stdint.h>

#define		MAX_LORA_PAYLOAD_SIZE	200

typedef void (*RXtimeout_callback)(void* data);

void LoRA_Init();
void LoRA_Loop();
void LoRA_ISR();

void LoRA_TestTX(const char* c);
void LoRA_TX(const uint8_t* buffer, uint8_t bufferSize, RXtimeout_callback rxtimeout_callback, void* data);


#endif /* INC_LORA_H_ */
